﻿//
// GNS_PopWndPassWord.h
// MobileManageSys
//FuncTion 修改密码
// Created by mr.l on 16/1/13.
//
//

#ifndef __MobileManageSys__GNS_PopWndPassWord__
#define __MobileManageSys__GNS_PopWndPassWord__

#include "cocos2d.h"
#include "cocostudio/CocoStudio.h"
#include "ui/CocosGUI.h"
#include "GNS_CursorTextField.h"
#include "GNS_Handler.h"
USING_NS_CC;
using namespace cocostudio::timeline;
using namespace ui;
US_NS_CUSTOM_UI;

enum{
    POPWNDBTN_TAG,
    POPWNDBTN_SEND
};
class GNS_PopWndPassWord : public Layer
{
public:
    GNS_PopWndPassWord();
    ~GNS_PopWndPassWord();
    static GNS_PopWndPassWord* createLayer();
    virtual bool init();
    CREATE_FUNC(GNS_PopWndPassWord);
    void BtnCallBack(Ref *pSender , ui::Widget::TouchEventType type);
    void SetNodeName(std::string CsbName);
private:
    void initData();
    void DetectionPassWord();
    void ClearDate();
    Button * determine;
    Node * pGNS_PopWndPassWord;
    TextField * oldPassWordText;
    TextField * newPassWordText;
    TextField * againPassWordText;

	CustomEditBox * _oldPassWordText;
	CustomEditBox * _newPassWordText;
	CustomEditBox * _againPassWordText;
};

#endif /* defined(__MobileManageSys__GNS_PopWndPassWord__) */